<?php
$server = 'MG-TOSH\SQLEXPRESS';
$dbname = 'Zapisy';
$user = 'sa';
$pass = 'pass';
$con = mssql_connect($server, $user, $pass) or die('conn error');
$selected = mssql_select_db($dbname, $con) or die("Couldn't open database $dbname");
?>